package org.jeecgframework.web.material.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**   
 * @Description: company
 * @date 2015-08-17 10:01:47
 * @version V1.0   
 *
 */
@Entity
@Table(name = "company", schema = "")
@SuppressWarnings("serial")
public class CompanyEntity implements java.io.Serializable {
	//主键ID
	private java.lang.String id;
	//公司名称
	private java.lang.String companyName;
	//公司编码
	private java.lang.String companyCode;
	//公司地址
	private java.lang.String companyAddr;
	//公司电话
	private java.lang.String companyTel;
	//备注
	private java.lang.String remark;
	
	/**
	 *get方法: 取得主键ID
	 */
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name ="ID",nullable=false,length=32)
	public java.lang.String getId(){
		return this.id;
	}

	/**
	 *set方法: 设置主键ID
	 */
	public void setId(java.lang.String id){
		this.id = id;
	}
	/**
	 *get方法: 取得公司名称
	 */
	@Column(name ="COMPANY_NAME",nullable=true,length=45)
	public java.lang.String getCompanyName(){
		return this.companyName;
	}

	/**
	 *set方法: 设置公司名称
	 */
	public void setCompanyName(java.lang.String companyName){
		this.companyName = companyName;
	}
	/**
	 *get方法: 取得公司编码
	 */
	@Column(name ="COMPANY_CODE",nullable=true,length=10)
	public java.lang.String getCompanyCode(){
		return this.companyCode;
	}

	/**
	 *set方法: 设置公司编码
	 */
	public void setCompanyCode(java.lang.String companyCode){
		this.companyCode = companyCode;
	}
	/**
	 *get方法: 取得公司地址
	 */
	@Column(name ="COMPANY_ADDR",nullable=true,length=100)
	public java.lang.String getCompanyAddr(){
		return this.companyAddr;
	}

	/**
	 *set方法: 设置公司地址
	 */
	public void setCompanyAddr(java.lang.String companyAddr){
		this.companyAddr = companyAddr;
	}
	/**
	 *get方法: 取得公司电话
	 */
	@Column(name ="COMPANY_TEL",nullable=true,length=20)
	public java.lang.String getCompanyTel(){
		return this.companyTel;
	}

	/**
	 *set方法: 设置公司电话
	 */
	public void setCompanyTel(java.lang.String companyTel){
		this.companyTel = companyTel;
	}
	/**
	 *get方法: 取得备注
	 */
	@Column(name ="REMARK",nullable=true,length=100)
	public java.lang.String getRemark(){
		return this.remark;
	}

	/**
	 *set方法: 设置备注
	 */
	public void setRemark(java.lang.String remark){
		this.remark = remark;
	}
}
